#ifndef __TRANSFILE__
#define __TRANSFILE__

#include <54func.h>

int recv_once(int sockFd, train_t *ptrain, long total);
int recvn(int sockFd, void *buf, long total);
int recvFile(int sockFd, train_t *ptrain);
int sendFile(int sockFd, train_t *ptrain);
int parseStr(char beforeParseStr[], char* afterParseStr[], int *argcNum, train_t *ptrain);
#endif